package com.iafme.dto.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * @author summer
 * @version 1.0
 * @date 2025/1/6 22:06
 */
@Data
public class EducationReqDTO implements Serializable {

    private Integer id;

    private String education;

    private String school;

    private String major;

    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )    private Date graduationTime;

    private String notes;
}
